using System;

namespace Me.Prettyprint.Cassandra.Connection
{
    /// <summary>
    /// HOpTimer is meant to be used to measure operation times used for
    /// client side statistics. Concrete classes need to provide the
    /// implementation for passing the metrics to the appropriate place.
    /// </summary>
	public interface HOpTimer
	{
		object Start(string tagName);
		void Stop(object token, string tagName, bool success);
	}
}